<include file="Public:header" />
<div class="container main"> <include file="Public:left" />
    <div class="w790">
        <div class="h"><a href="{:U('index')}" class="btn btn-info"><i class="glyphicon glyphicon-circle-arrow-left"></i> 返回列表</a>
        </div>
        <form class="checkoutform form-horizontal" action="<?php echo U('detail',array('site_id'=>'143'));?>" method="post">
            <input type="hidden" name="member_id" value="<?php echo  D('User')->where(' id = '.session(C('USER_AUTH_KEY')))->getField('member_id'); ?>">
            <input type="hidden" name="txstate" value="{$txstate}">
            <div class="table_ container" style="padding-bottom: 12px;">
                <div class="setting_table">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">提现金额</label>
                        <div class="col-sm-10">
                            <input class="form-control" datatype="*"  type="text" name="demomey" value="" placeholder="可提现：{$member.money}">
                        </div>
                    </div>
                </div>
            </div>
            <div class="table_ container"  style="padding-bottom: 12px;">
                <div class="setting_table">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">开户名</label>
                        <div class="col-sm-10">
                            <input class="form-control" datatype="*"  type="text" name="accountname" value="" placeholder="姓名">
                        </div>
                    </div>
                </div>
            </div>
            <div class="table_ container"  style="padding-bottom: 12px;">
                <div class="setting_table">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">账号</label>
                        <div class="col-sm-10">
                            <select name='account' class="form-control">
                                <volist name='bank_list' id='u_vo'>
                                    <option value="{$u_vo.id}">{$u_vo.account}</option>

                                </volist>
                            </select>
                        </div>
                    </div>
                </div>
            </div>

            <div class="table_ container"  style="padding-bottom: 12px;">
                <div class="setting_table">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">二级密码</label>
                        <div class="col-sm-10">
                            <input class="form-control" datatype="*"  type="password" name="password" value="" >
                        </div>
                    </div>
                </div>
            </div>
            <div class="table_ container"  style="padding-bottom: 12px;">
                <div class="setting_table">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">手续费</label>
                        <div class="col-sm-10">
                            <input class="form-control" datatype="*"  type="text" name="fee" value="" readOnly="true"  >
                        </div>
                    </div>
                </div>
            </div>
            <div class="pages"><button type="submit" class="btn btn-success">提交</button></div>
        </form>
        <script>
            $('input[name="demomey"]').change(function(){
                $('input[name="fee"]').val((($(this).val()*0.0048)).toFixed(2));

            });
        </script>
    </div>
    <div class="clear"></div>
</div>
</body></html>